//
//  IWUser.h
//  ItcastWeibo
//
//  Created by apple on 14-5-8.
//  Copyright (c) 2014年 itcast. All rights reserved.
//  微博用户(发微博的作者)

#import <Foundation/Foundation.h>

@interface User : NSObject
/** 用户的ID */
@property (nonatomic, copy) NSString *idstr;
/** 用户的昵称 */
@property (nonatomic, copy) NSString *name;
/** 友好显示名称 */
@property (nonatomic, copy) NSString *profile_image_url;

/** 会员等级 */
@property (nonatomic, assign) int mbrank;
/** 是否是微博认证用户 */
@property (assign, nonatomic) BOOL verified;
/** 用户的认证类型，-1：没有认证，0，认证用户，2,3,5: 企业认证，220: 达人 */
@property (assign, nonatomic) int verified_type;
@property (copy, nonatomic) NSString *verifiedName;

/** 是否为vip */
@property (nonatomic, assign) int mbtype;
@property (assign, nonatomic) int ptype;


#pragma mark 评论
/** 用户UID */
@property (copy, nonatomic) NSString *ID;
/** 用户昵称 */
@property (copy, nonatomic) NSString *screen_name;
/** 用户所在省级ID */
@property (copy, nonatomic) NSString *province;
/** 粉丝数 */
@property (copy, nonatomic) NSString *followers_count;
/** 关注数 */
@property (copy, nonatomic) NSString *friends_count;
/** 微博数 */
@property (copy, nonatomic) NSString *statuses_count;
/** 收藏数 */
@property (copy, nonatomic) NSString *favourites_count;

@property (copy, nonatomic) NSString *city;
/** 地址 */
@property (copy, nonatomic) NSString *location;
@property (copy, nonatomic) NSString *created_at;
@property (assign, nonatomic) BOOL following;
@property (assign, nonatomic) BOOL allow_all_act_msg;
@property (assign, nonatomic) BOOL geo_enabled;
@property (assign, nonatomic) BOOL allow_all_comment;
@property (copy, nonatomic) NSString *avatar_large;
@property (copy, nonatomic) NSString *avatar_hd;
/** 描述 */
@property (copy, nonatomic) NSString *desc;
@end
